import Layout from '@/views/layout.vue'
export const apiword = {
    path: 'apiword',
    name: 'apiword',
    component: Layout,
    redirect: '/apiword/apiobjectlist',
    meta: {
        title: '接口文档',
        icon: 'el-icon-s-home'
    },
    children: [
        {
            path: 'apiobjectlist',
            name: 'apiobjectlist',
            component: () => import('@/views/apiword/index.vue'),
            meta: {
                title: '接口文档项目列表',
                icon: 'fa fa-cubes'
            }
        },
        {
            path: 'apiwordlist/:id/:name',
            name: 'apiwordlist',
            component: () => import('@/views/apiword/apiword.vue'),
            meta: {
                title: '接口文档',
                icon: 'fa fa-cubes'
            }
        },
        {
            path: 'editorapiword',
            name: 'editorapiword',
            component: () => import('@/views/apiword/editorApiWord.vue'),
            meta: {
                title: '编辑接口',
                icon: 'fa fa-cubes'
            }
        },
        {
            path: 'examineapi',
            name: 'examineapi',
            component: () => import('@/views/apiword/examineapi.vue'),
            meta: {
                title: '查看接口详情',
                icon: 'fa fa-cubes'
            }
        }
    ]
}
